
package rnavizexperimentation;

/**
 *
 * @author Elias la Cour
 */
public class Controller {

    private Structure structure = null;

    Controller() {
        Model model = new Model();
        structure = createStructure();
        View view = new View(structure);
        model.setStructure(structure);
        view.setStructure(structure);
        view.createLayout();
    }

    protected Structure createStructure() {
        Structure s = null;
        InputHandler ih = new InputHandler();
        s = ih.smallInput();
        return s;
    }
}